package linhnv.app;

public class Constant {
	
	public static final String ROOT="http://kenhphimviet.com/";
	public static final String ROOT_ANDROID="http://android.kenhphimviet.com/";
	public static final String URL = "http://android.kenhphimviet.com/images/film_le/";//http://studio88.jp/sm_ext/single_tst/dress/";

	public static final String XML_NAME = "12.xml";
	public static final String CATEGORY ="category.xml";
	public static final String URL_REAL = "";
	public static final String URL_USER = null;
	public static final String URL_PASSWORD = null;
	
	public static final boolean IS_REAL = false;
	
	public static final int CONNECTION_TIMEOUT = 5000;
	public static final int SOCKET_TIMEOUT = 10000;
	
	public static final String DIRECTORY_ROOT = "offline";
	
	public static final String DIRECTOR_IN_APK = "/android_asset/data";
	
	
	public static final boolean IS_ONLINE = false;
	
	
	public static final String UPDATE_MESSAGE = "UpdateMsg";
	
	public static final String URL_KEY_FILE_NAME = "UrlFile";
	public static final String URL_KEY_PATH_NAME = "UrlPath";
	
	public static final int ID_HOME = 1;
	public static final int ID_UPDATE = 2;
	public static final int ID_CANCEL = 3;
	
	public static final String TMP = ""; //Please don't set NULL
	
	/**
	 * Revision change
	 * TRUE Always been change. Another default change by Server
	 */
	public static final boolean REVISION = true;
	/**
	 * Update Msg change
	 * TRUE Always show dialog. Another default change by Server
	 */
	public static final boolean UPDATE_MSG = true;
	/**
	 * Show progress bar when loading
	 * TRUE will don't show
	 */
	public static final boolean WIDGET_PROGRESSBAR = false;
	
	//check revision
	public static final String KEY_NAME_REVISION_XML = "WGT.PageWidgets.PageWidget(%S).atbxml.Revision";
	public static final String KEY_NAME_TOTAL_PAGEWIDGET_XML = "WGT.PageWidgets.PageWidget.total";
	public static final String KEY_NAME_LOCATION_PAGEWIDGET_XML = "WGT.PageWidgets.PageWidget(%s).atbxml.Location";
	public static final String KEY_NAME_DATA_PAGEWIDGET_XML = "WGT.PageWidgets.PageWidget(%s).atbxml.Data";
	public static final String KEY_NAME_ENC_PAGEWIDGET_XML = "WGT.PageWidgets.PageWidget(%s).atbxml.Enc";
	public static final String KEY_NAME_LOCATION_PAGEWIDGET = "location";
	public static final String KEY_NAME_DATA_PAGEWIDGET = "data";
	
	public static final String KEY_NAME_PARENT_REVISION = "WGT.atbxml.Revision";
	
	
	// PageWidget string
	public static final String PAGE_WIDGET_STR= "PageWidget";
	
	// BaseWidget string
	public static final String BASE_WIDGET_STR= "BaseWidget";
	
	// Underline string
	public static final String UNDERLINE_STR= "_";
	
	// Percent string
	public static final String PERCENT_STR= "%";
	
	public static final String INDEX_PAGE_STR = "index.html";
	
	
	// The main tag of xml
	public static final String ROOT_TAG = "item";
	public static final String MAIN_TAG = "category_main";
}
